import request from "@/utils/request"

export function getBlogMenuList() {
    return request({
        url: '/blog/menu/list',
        method: 'get'
    })
}

export function saveBlogMenuInfo(data) {
    return request({
        url: '/blog/menu/save',
        method: 'post',
        data
    })
}

export function deleteBlogMenuInfo(id) {
    return request({
        url: '/blog/menu/delete/' + id,
        method: 'delete'
    })
}

export function getBlogMenuInfo(id) {
    return request({
        url: '/blog/menu/info/' + id,
        method: 'get'
    })
}

export function getBlogDictionary() {
    return request({
        url: '/blog/menu/dictionary',
        method: 'get'
    })
}